<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="../common/jspcommon.jsp"%>

	<div class="h_avatar">
		<div class="avatar_box">
			<div class="current_avatar">
				<h3>当前头像</h3>
				<div class="avatar_img">
					<img src="${member.avatar}" alt="当前头像" id="avatar_member" width="120" height="120"/>
				</div>
			</div>
		</div>
		<div class="upload_box">
			<div class="upload_text_box">
				<div class="h_upload_text" id="con_upload_1" style="display: block">
					<div class="upload_list">
						<p>上传一张<font color="red"><c:if test="${requestScope.member.identifier==sessionScope.member.identifier }">您</c:if><c:if test="${requestScope.member.identifier!=sessionScope.member.identifier }">${member.username }</c:if>的头像</font>，照片仅支持JPG/JPEG/PNG<br>格式，照片不大于2M</p>
							<div class="h_button w75 mt15"><strong onclick="uploadAvatar(1,'${memberId}');">上传图片</strong></div>  
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="pop_avatar" id="pop_avatar_div" style="display: none;">
	</div>

	<div class="d_pa" style="display: none;" id="cut_avatar">
	</div>
